import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from "axios";
import dataV from '@jiaminghi/data-view'
import * as echarts from 'echarts'

Vue.prototype.$echarts = echarts
Vue.use(dataV)
Vue.prototype.$http = axios

// axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
// axios.defaults.baseURL = 'http://localhost:8080'
// axios.defaults.baseURL = 'http://47.104.100.60:82/'
axios.defaults.timeout = 3000
Vue.config.productionTip = false
Vue.use(ElementUI)
const app = new Vue({
  router,
  render: h => h(App)
}).$mount('#app')





